package top.wshape1.easyscan.entity;

import androidx.annotation.NonNull;

/**
 * @author Wshape1
 * @version 1.0
 * @description
 * @since 2023-05-22
 */
public class CustomRule {

    private Integer id;

    /**
     * type: 0 contain; 1 startWith; 2 regex
     */
    private Integer type;

    private String matchString;

    private String packageName;

    private String className;

    private Integer order;

    private String description;

    public CustomRule() {
    }

    public CustomRule(Integer id, Integer type, String matchString, String packageName, String className, Integer order, String description) {
        this.id = id;
        this.type = type;
        this.matchString = matchString;
        this.packageName = packageName;
        this.className = className;
        this.order = order;
        this.description = description;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMatchString() {
        return matchString;
    }

    public void setMatchString(String matchString) {
        this.matchString = matchString;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
